package com.qumitech.visualnovel.model.dao.nocore;

import java.util.Date;

public class ChatMsgDO {
    private Long id;

    private String category;

    private String fromId;

    private Long toId;

    private String msgType;

    private String extMsgType;

    private String customMsgType;

    private String msgId;

    private Long msgTime;

    private String msgContent;

    private String imageUrl;

    private String voiceUrl;

    private String videoUrl;

    private String thumbUrl;

    private String msgJson;

    private String extMsgJson;

    private Byte deleteFlag;

    private Byte readStatus;

    private Byte limitType;

    private Date createTime;

    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category == null ? null : category.trim();
    }

    public String getFromId() {
        return fromId;
    }

    public void setFromId(String fromId) {
        this.fromId = fromId == null ? null : fromId.trim();
    }

    public Long getToId() {
        return toId;
    }

    public void setToId(Long toId) {
        this.toId = toId;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType == null ? null : msgType.trim();
    }

    public String getExtMsgType() {
        return extMsgType;
    }

    public void setExtMsgType(String extMsgType) {
        this.extMsgType = extMsgType == null ? null : extMsgType.trim();
    }

    public String getCustomMsgType() {
        return customMsgType;
    }

    public void setCustomMsgType(String customMsgType) {
        this.customMsgType = customMsgType == null ? null : customMsgType.trim();
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId == null ? null : msgId.trim();
    }

    public Long getMsgTime() {
        return msgTime;
    }

    public void setMsgTime(Long msgTime) {
        this.msgTime = msgTime;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent == null ? null : msgContent.trim();
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl == null ? null : imageUrl.trim();
    }

    public String getVoiceUrl() {
        return voiceUrl;
    }

    public void setVoiceUrl(String voiceUrl) {
        this.voiceUrl = voiceUrl == null ? null : voiceUrl.trim();
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl == null ? null : videoUrl.trim();
    }

    public String getThumbUrl() {
        return thumbUrl;
    }

    public void setThumbUrl(String thumbUrl) {
        this.thumbUrl = thumbUrl == null ? null : thumbUrl.trim();
    }

    public String getMsgJson() {
        return msgJson;
    }

    public void setMsgJson(String msgJson) {
        this.msgJson = msgJson == null ? null : msgJson.trim();
    }

    public String getExtMsgJson() {
        return extMsgJson;
    }

    public void setExtMsgJson(String extMsgJson) {
        this.extMsgJson = extMsgJson == null ? null : extMsgJson.trim();
    }

    public Byte getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Byte deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Byte getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(Byte readStatus) {
        this.readStatus = readStatus;
    }

    public Byte getLimitType() {
        return limitType;
    }

    public void setLimitType(Byte limitType) {
        this.limitType = limitType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", category=").append(category);
        sb.append(", fromId=").append(fromId);
        sb.append(", toId=").append(toId);
        sb.append(", msgType=").append(msgType);
        sb.append(", extMsgType=").append(extMsgType);
        sb.append(", customMsgType=").append(customMsgType);
        sb.append(", msgId=").append(msgId);
        sb.append(", msgTime=").append(msgTime);
        sb.append(", msgContent=").append(msgContent);
        sb.append(", imageUrl=").append(imageUrl);
        sb.append(", voiceUrl=").append(voiceUrl);
        sb.append(", videoUrl=").append(videoUrl);
        sb.append(", thumbUrl=").append(thumbUrl);
        sb.append(", msgJson=").append(msgJson);
        sb.append(", extMsgJson=").append(extMsgJson);
        sb.append(", deleteFlag=").append(deleteFlag);
        sb.append(", readStatus=").append(readStatus);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}